package com.situ.day7.homework;

import org.junit.Test;

public class HomeWork {

    @Test
    public void test1() {
        Number number = new Number(3, 5);
        int result1 = number.add();
        System.out.println(result1);
        System.out.println(number.sub());
    }

    @Test
    public void test2() {
        Rectangle rectangle = new Rectangle(3, 5);
        int chouChang = rectangle.chouChang();
        System.out.println(chouChang);
    }
}
